package asynq_handle_routes

type AsynqHandleRoute string

const (
	RouteEmailRegisterVerification AsynqHandleRoute = "email:register_verification"
	RouteEmailForgotVerification   AsynqHandleRoute = "email:forgot_verification"
)

type RouteCommonPayload struct {
	Language   string `json:"language"`
	XRequestId string `json:"x_request_id"`
}

type RouteEmailRegisterVerificationPayload struct {
	ToEmail          string `json:"to_email"`
	VerificationLink string `json:"verification_link"`
}

type RouteEmailForgotVerificationPayload struct {
	VerificationLink string `json:"verification_link"`
	ToEmail          string `json:"to_email"`
}
